package cn.yunyichina.provider.finance.entity;

import com.alibaba.fastjson.JSON;

/**
 * 流水账持久对象
 * 
 * @author zhou
 *
 */
public class AccountJournalPo {

	/**/
	private String id;
	public void setId(String id) {
		this.id = id;
	}
	public String getId() {
		return id;
	}

	/*订单号*/
	private String orderNo;
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public String getOrderNo() {
		return orderNo;
	}

	/*关系号              91:专家问诊单（骨科平台）              92:手术订单(骨科平台)              93:押金单（骨科平台）                            如果订单类型为91，此值为空              如果订单类型为92，此值为同一个业务的押金单号              如果订单类型为93，此值为同一个业务的手术单号*/
	private String relationNo;
	public void setRelationNo(String relationNo) {
		this.relationNo = relationNo;
	}
	public String getRelationNo() {
		return relationNo;
	}

	/*订单类型              1:挂号              2:取号              3:门诊缴费              4:住院缴费              5:预约平台              6.病案复印              9:骨科大会              -------------------------------------------              91:专家问诊单（骨科平台）              92:手术订单(骨科平台)              93:押金单（骨科平台）*/
	private Short orderType;
	public void setOrderType(Short orderType) {
		this.orderType = orderType;
	}
	public Short getOrderType() {
		return orderType;
	}

	/*组织ID*/
	private String orgId;
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	public String getOrgId() {
		return orgId;
	}

	/*组织名称*/
	private String orgName;
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	public String getOrgName() {
		return orgName;
	}

	/*组织名称*/
	private String orgCode;
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	public String getOrgCode() {
		return orgCode;
	}

	/*科室ID*/
	private String deptId;
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getDeptId() {
		return deptId;
	}

	/*科室CODE*/
	private String deptCode;
	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}
	public String getDeptCode() {
		return deptCode;
	}

	/*科室名称*/
	private String deptName;
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public String getDeptName() {
		return deptName;
	}

	/*用户ID*/
	private String userId;
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserId() {
		return userId;
	}

	/*用户姓名*/
	private String userName;
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserName() {
		return userName;
	}

	/*业务说明*/
	private String businessDesc;
	public void setBusinessDesc(String businessDesc) {
		this.businessDesc = businessDesc;
	}
	public String getBusinessDesc() {
		return businessDesc;
	}

	/*发生额方向              1-收入              2-支出*/
	private Short amountDirection;
	public void setAmountDirection(Short amountDirection) {
		this.amountDirection = amountDirection;
	}
	public Short getAmountDirection() {
		return amountDirection;
	}

	/*发生额*/
	private Integer amount;
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public Integer getAmount() {
		return amount;
	}

	/*发生时间*/
	private String createdTime;
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	public String getCreatedTime() {
		return createdTime;
	}

	private String beginCreatedTime;
	public void setBeginCreatedTime(String beginCreatedTime) {
		this.beginCreatedTime = beginCreatedTime;
	}
	public String getBeginCreatedTime() {
		return beginCreatedTime;
	}

	private String endCreatedTime;
	public void setEndCreatedTime(String endCreatedTime) {
		this.endCreatedTime = endCreatedTime;
	}
	public String getEndCreatedTime() {
		return endCreatedTime;
	}

	/* * 1. 主治医生收入 * 2. 主治医生一级推荐人收入* 3. 主治医生二级推荐人收入* 4. 专家收入* 5. 专家一级推荐人收入* 6. 专家二级推荐人收入* 7. 手术单平台服务费* 8. 手术意外险* 9. 主治医生收入折扣（负）* 10. 专家收入折扣（负）* 11. 平台服务费折扣（负）* 12. 押金单平台服务费* 13. 问诊单平台服务费* 14. 优惠金额* 15. 奖励金收入* 16. 主治医生税费* 17. 专家税费*/
	private Short businessType;
	public void setBusinessType(Short businessType) {
		this.businessType = businessType;
	}
	public Short getBusinessType() {
		return businessType;
	}


	/*被推荐人ID*/
	private String introducerId;
	public void setIntroducerId(String introducerId) {
		this.introducerId = introducerId;
	}
	public String getIntroducerId() {
		return introducerId;
	}

	/*被推荐人名称*/
	private String introducerName;
	public void setIntroducerName(String introducerName) {
		this.introducerName = introducerName;
	}
	public String getIntroducerName() {
		return introducerName;
	}
	
	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
